package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/***
 *@title 药敏结果敏感性规则-明细表
 *@author WH
 *@version 1.0.0
 *@create 2025/4/26 14:15
 **/
@Data
@TableName(value = "BAC_DRUG_RESULT_SENROLE_DETAILS")
@Entity
@Table(name = "BAC_DRUG_RESULT_SENROLE_DETAILS")
public class BacDrugResultSenroleDetails extends BaseEntityJpa {
    private static final long serialVersionUID = 1L;

    //规则编号
    @TableField("ROLE_CODE")
    @Column(name = "ROLE_CODE")
    private String roleCode;


    /**
     * 抗生素编号(条件)
     */
    @TableField("ANT_NO")
    @Column(name = "ANT_NO")
    private String antNo;

    /**
     * 抗生素名称(条件)
     */
    @TableField("ANT_NA")
    @Column(name = "ANT_NA")
    private String antNa;

    /**
     * 敏感性值(条件)
     */
    @TableField("SENSITIVE_NO")
    @Column(name = "SENSITIVE_NO")
    private String sensitiveNo;


    /**
     * 敏感性名称
     */
    @Transient
    @TableField(exist = false)
    private String sensitiveNa;


    @TableField("SEQ")
    @Column(name = "SEQ")
    private Integer seq;
}
